<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="../common/head.jsp"%>
<div class="bjui-pageHeader">
    <form id="pagerForm" data-toggle="ajaxsearch" action="${ctx}/sys/query${actionclass}.do" method="post">
        <div class="bjui-searchBar">
            <label>教师账号：</label><input type="text" value="" name="s_teachername" class="form-control" size="10">&nbsp;
            <label>类别:</label>
            <select name="s_typesel" data-toggle="selectpicker">
                <option value="">全部</option>
                <option value="学生评教">学生评教</option>
                <option value="教师互评">教师互评</option>
                <option value="系部评教">系部评教</option>
            </select>&nbsp;
            <button type="submit" class="btn-default" data-icon="search">查询</button>&nbsp;
            <div class="pull-right">
            </div>
        </div>
    </form>
</div>
<div class="bjui-pageContent tableContent">
    <table class="table table-bordered table-hover table-striped table-top" data-selected-multi="false">
        <thead>
            <tr>
                <th>被评教师</th>
                <th>类别</th>
                <th>评分人</th>
                <th>评分</th>
            </tr>
        </thead>
        <tbody>
        	<c:forEach items="${SESSION_PAGE.list}" var="item">
            <tr data-id="${item.id }">
				<td>${item.teacher.fname}</td>
				<td>${item.typesel}</td>
				<td>${item.fuser}</td>
				<td>${item.score}</td>
            </tr>
            </c:forEach>
        </tbody>
    </table>
</div>
<div class="bjui-pageFooter">
    <div class="pages">
        <span>&nbsp;共 ${SESSION_PAGE.totalNumber} 条</span>
    </div>
    <div class="pagination-box" data-toggle="pagination" data-total="${SESSION_PAGE.totalNumber}" data-page-size="${SESSION_PAGE.itemsPerPage}" data-page-current="${SESSION_PAGE.currentPageNumber}"></div>
</div>
